import { configureStore } from "@reduxjs/toolkit";

import TabReducer from "../store/reducers/tab";
export default configureStore({
  //把reducer封装成store
  reducer: {
    tab: TabReducer,//前面的tab就是切片对象中的name属性，后面的TabReducer是切片的reducer,引入时命的名。
  },
});
